package o;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.ViewDataBinding;
import androidx.databinding.ViewDataBinding.c;
import com.huawei.appgallery.foundation.ui.framework.widget.MaskImageView;
import com.huawei.appgallery.foundation.ui.framework.widget.button.DownloadButton;
import com.huawei.appgallery.foundation.ui.framework.widget.imageview.RoundedCornerImageView;
import com.huawei.appmarket.framework.widget.NoAdaptRenderImageView;
import com.huawei.appmarket.framework.widget.PromotionSignTextView;
import huawei.widget.HwTextView;
import o.ewm.j;

public class ewz extends ewx {
    @Nullable
    private static final c ˋॱ = null;
    @Nullable
    private static final SparseIntArray ॱˊ = new SparseIntArray();
    private long ॱˋ;
    @NonNull
    private final LinearLayout ॱˎ;

    static {
        ॱˊ.put(j.ʾʽ, 1);
        ॱˊ.put(j.ʿʼ, 2);
        ॱˊ.put(j.ˇॱ, 3);
        ॱˊ.put(j.ʿʽ, 4);
        ॱˊ.put(j.ᐝʼ, 5);
        ॱˊ.put(j.ˏˎ, 6);
        ॱˊ.put(j.ᶦ, 7);
        ॱˊ.put(j.ʽ, 8);
        ॱˊ.put(j.ㆍʼ, 9);
        ॱˊ.put(j.ᐧʻ, 10);
        ॱˊ.put(j.ˋ, 11);
    }

    public ewz(@Nullable jk jkVar, @NonNull View view) {
        this(jkVar, view, ViewDataBinding.ॱ(jkVar, view, 12, ˋॱ, ॱˊ));
    }

    private ewz(jk jkVar, View view, Object[] objArr) {
        super(jkVar, view, 0, (HwTextView) objArr[11], (HwTextView) objArr[8], (MaskImageView) objArr[6], (RelativeLayout) objArr[5], (DownloadButton) objArr[7], (LinearLayout) objArr[1], (RoundedCornerImageView) objArr[2], (RoundedCornerImageView) objArr[3], (RoundedCornerImageView) objArr[4], (NoAdaptRenderImageView) objArr[10], (PromotionSignTextView) objArr[9]);
        this.ॱˋ = -1;
        this.ॱˎ = (LinearLayout) objArr[0];
        this.ॱˎ.setTag(null);
        ˏ(view);
        ʽ();
    }

    public void ʽ() {
        synchronized (this) {
            this.ॱˋ = 1;
        }
        ˊ();
    }

    public boolean ˎ() {
        synchronized (this) {
            if (this.ॱˋ != 0) {
                return true;
            }
            return false;
        }
    }

    public void ˏ() {
        synchronized (this) {
            long j = this.ॱˋ;
            this.ॱˋ = 0;
        }
    }
}
